What is Company Code

 In any SAP S/4HANA implementation, defining a Company Code is one of the most critical configuration activities. The company code represents a legal entity for which a complete set of financial statements—Balance Sheet and Profit & Loss—can be produced.

To meet country-specific tax and legal reporting requirements, SAP mandates that at least one company code must be defined. Depending on business needs, you can define multiple company codes, each representing a separate legal entity.

All company codes are country-specific, and in SAP S/4HANA, the company code is a core organizational unit in Financial Accounting (FI) used to structure business processes for financial reporting.


Understanding the Options: Create or Copy a Company Code

SAP provides two standard approaches to define a company code:

  1. Create a company code from scratch, or

  2. Copy an existing company code supplied by SAP.

SAP strongly recommends using the standard company code 0001 as a reference when copying.

Why Copy an Existing Company Code?

When you copy a standard company code, you inherit many predefined company code–specific parameters, such as:

  • Tolerance groups

  • Payment program settings

  • Field status variants

  • Default control settings

This significantly reduces customization effort and saves time during implementation.

However, it is important to note that not all properties are retained during copying. After copying, you must carefully review and adjust every inherited setting to match your business requirements.


Navigation Path to Define a Company Code

To define or copy a company code, follow this menu path:

IMG → Enterprise Structure → Definition → Financial Accounting →
Edit, Copy, Delete, Check Company Code


This opens the Select Activity screen, where you have two options:

  1. Copy, Delete, Check Company Code – to copy an existing company code

  2. Edit Company Code Data – to create a new company code from scratch


Creating a Company Code from Scratch

If you choose Edit Company Code Data, click on New Entries.



The system displays the “Details of Added Entries” screen, where you enter your initial company code data.

Here, you provide:

  • Company Code (4 characters)

  • Company Name

  • City

  • Country

  • Currency

Once you save this screen, SAP opens the Edit Address screen.




Maintaining Company Code Address Details

The Edit Address screen is divided into five logical sections:

1. Name

Here you maintain:

  • Company title

  • Company name

Example:

For ABC Telecommunications Ltd. – 4 legal entities in India:

Legal Entity NameCompany Code
ABC Telecom North Ltd.AT01
ABC Telecom South Ltd.AT02
ABC Telecom East Ltd.AT03
ABC Telecom West Ltd.AT04

This name represents how your company code appears throughout the system.


2. Search Terms

  • Optional field

  • Up to two search terms (maximum 20 characters each)

Search terms help you quickly locate a company code in systems with many entities.

Best practice:

  • Use a meaningful and memorable search term, such as the company name.


3. Street Address

In this section, you maintain:

  • Street and house number

  • Postal code

  • City

  • Country and Region

These details are important for:

  • Legal correspondence

  • Output forms

  • Statutory reporting


4. PO Box Address

If your company uses a Post Box address, you can maintain:

  • PO Box number

  • Postal code

  • Company postal code

This section is optional and depends on business practice.


5. Communication

Here you maintain communication details such as:

  • Language

  • Telephone

  • Mobile

  • Fax

  • Email

These details are used for:

  • Business correspondence

  • Contact information in outputs

After completing the relevant sections, save your entries.



Final Check Before Saving

Mandatory fields you must not miss:

  • Name

  • Country/Region = IN

  • City

  • Postal Code

Everything else is optional but good practice.


Assigning the Company Code to a Company

Defining a company code alone is not sufficient.
For the company code to function correctly, it must be assigned to a Company (group level).

This assignment establishes the organizational hierarchy between:

  • Company (group level)

  • Company Code (legal entity level)

Navigation Path

Use either:

Enterprise Structure → Assignment → Financial Accounting →
Assign Company Code to Company

Or directly use:

Transaction Code: OX16


Performing the Assignment

On the Change View: Assign Company Code → Company screen:

  1. Scroll to find your company code, or

  2. Use the Position function to locate it quickly by entering the company code



Once your company code appears:

  • Enter the Company ID in the Company field

  • Save the assignment


If you cannot remember the company code, use the Matchcode (Search Help) to select it from the list of available values.

Comments

Popular posts from this blog

What is General Ledger Master Data creation and deletion ?

What is a Chart of Account and how to assign to company code in SAP FICO ?

Reconciliation Accounts and G/L Master Data Creation in SAP S/4HANA – A Complete Beginner’s Guide